package com.ttj.domain.oracle.gen;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WebExchangeCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer mysqlOffset;

    protected Integer mysqlLength;

    public WebExchangeCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * @param mysqlOffset 
	 *            指定返回记录行的偏移量<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public void setMysqlOffset(Integer mysqlOffset) {
        this.mysqlOffset=mysqlOffset;
    }

    /**
     * @param mysqlLength 
	 *            指定返回记录行的最大数目<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public Integer getMysqlOffset() {
        return mysqlOffset;
    }

    /**
     * @param mysqlOffset 
	 *            指定返回记录行的偏移量<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public void setMysqlLength(Integer mysqlLength) {
        this.mysqlLength=mysqlLength;
    }

    /**
     * @param mysqlLength 
	 *            指定返回记录行的最大数目<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public Integer getMysqlLength() {
        return mysqlLength;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andExIdIsNull() {
            addCriterion("EX_ID is null");
            return (Criteria) this;
        }

        public Criteria andExIdIsNotNull() {
            addCriterion("EX_ID is not null");
            return (Criteria) this;
        }

        public Criteria andExIdEqualTo(Integer value) {
            addCriterion("EX_ID =", value, "exId");
            return (Criteria) this;
        }

        public Criteria andExIdNotEqualTo(Integer value) {
            addCriterion("EX_ID <>", value, "exId");
            return (Criteria) this;
        }

        public Criteria andExIdGreaterThan(Integer value) {
            addCriterion("EX_ID >", value, "exId");
            return (Criteria) this;
        }

        public Criteria andExIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("EX_ID >=", value, "exId");
            return (Criteria) this;
        }

        public Criteria andExIdLessThan(Integer value) {
            addCriterion("EX_ID <", value, "exId");
            return (Criteria) this;
        }

        public Criteria andExIdLessThanOrEqualTo(Integer value) {
            addCriterion("EX_ID <=", value, "exId");
            return (Criteria) this;
        }

        public Criteria andExIdIn(List<Integer> values) {
            addCriterion("EX_ID in", values, "exId");
            return (Criteria) this;
        }

        public Criteria andExIdNotIn(List<Integer> values) {
            addCriterion("EX_ID not in", values, "exId");
            return (Criteria) this;
        }

        public Criteria andExIdBetween(Integer value1, Integer value2) {
            addCriterion("EX_ID between", value1, value2, "exId");
            return (Criteria) this;
        }

        public Criteria andExIdNotBetween(Integer value1, Integer value2) {
            addCriterion("EX_ID not between", value1, value2, "exId");
            return (Criteria) this;
        }

        public Criteria andPhonenumIsNull() {
            addCriterion("PHONENUM is null");
            return (Criteria) this;
        }

        public Criteria andPhonenumIsNotNull() {
            addCriterion("PHONENUM is not null");
            return (Criteria) this;
        }

        public Criteria andPhonenumEqualTo(String value) {
            addCriterion("PHONENUM =", value, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumNotEqualTo(String value) {
            addCriterion("PHONENUM <>", value, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumGreaterThan(String value) {
            addCriterion("PHONENUM >", value, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumGreaterThanOrEqualTo(String value) {
            addCriterion("PHONENUM >=", value, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumLessThan(String value) {
            addCriterion("PHONENUM <", value, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumLessThanOrEqualTo(String value) {
            addCriterion("PHONENUM <=", value, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumLike(String value) {
            addCriterion("PHONENUM like", value, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumNotLike(String value) {
            addCriterion("PHONENUM not like", value, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumIn(List<String> values) {
            addCriterion("PHONENUM in", values, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumNotIn(List<String> values) {
            addCriterion("PHONENUM not in", values, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumBetween(String value1, String value2) {
            addCriterion("PHONENUM between", value1, value2, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumNotBetween(String value1, String value2) {
            addCriterion("PHONENUM not between", value1, value2, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPrizeIdIsNull() {
            addCriterion("PRIZE_ID is null");
            return (Criteria) this;
        }

        public Criteria andPrizeIdIsNotNull() {
            addCriterion("PRIZE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andPrizeIdEqualTo(Long value) {
            addCriterion("PRIZE_ID =", value, "prizeId");
            return (Criteria) this;
        }

        public Criteria andPrizeIdNotEqualTo(Long value) {
            addCriterion("PRIZE_ID <>", value, "prizeId");
            return (Criteria) this;
        }

        public Criteria andPrizeIdGreaterThan(Long value) {
            addCriterion("PRIZE_ID >", value, "prizeId");
            return (Criteria) this;
        }

        public Criteria andPrizeIdGreaterThanOrEqualTo(Long value) {
            addCriterion("PRIZE_ID >=", value, "prizeId");
            return (Criteria) this;
        }

        public Criteria andPrizeIdLessThan(Long value) {
            addCriterion("PRIZE_ID <", value, "prizeId");
            return (Criteria) this;
        }

        public Criteria andPrizeIdLessThanOrEqualTo(Long value) {
            addCriterion("PRIZE_ID <=", value, "prizeId");
            return (Criteria) this;
        }

        public Criteria andPrizeIdIn(List<Long> values) {
            addCriterion("PRIZE_ID in", values, "prizeId");
            return (Criteria) this;
        }

        public Criteria andPrizeIdNotIn(List<Long> values) {
            addCriterion("PRIZE_ID not in", values, "prizeId");
            return (Criteria) this;
        }

        public Criteria andPrizeIdBetween(Long value1, Long value2) {
            addCriterion("PRIZE_ID between", value1, value2, "prizeId");
            return (Criteria) this;
        }

        public Criteria andPrizeIdNotBetween(Long value1, Long value2) {
            addCriterion("PRIZE_ID not between", value1, value2, "prizeId");
            return (Criteria) this;
        }

        public Criteria andExNumIsNull() {
            addCriterion("EX_NUM is null");
            return (Criteria) this;
        }

        public Criteria andExNumIsNotNull() {
            addCriterion("EX_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andExNumEqualTo(Integer value) {
            addCriterion("EX_NUM =", value, "exNum");
            return (Criteria) this;
        }

        public Criteria andExNumNotEqualTo(Integer value) {
            addCriterion("EX_NUM <>", value, "exNum");
            return (Criteria) this;
        }

        public Criteria andExNumGreaterThan(Integer value) {
            addCriterion("EX_NUM >", value, "exNum");
            return (Criteria) this;
        }

        public Criteria andExNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("EX_NUM >=", value, "exNum");
            return (Criteria) this;
        }

        public Criteria andExNumLessThan(Integer value) {
            addCriterion("EX_NUM <", value, "exNum");
            return (Criteria) this;
        }

        public Criteria andExNumLessThanOrEqualTo(Integer value) {
            addCriterion("EX_NUM <=", value, "exNum");
            return (Criteria) this;
        }

        public Criteria andExNumIn(List<Integer> values) {
            addCriterion("EX_NUM in", values, "exNum");
            return (Criteria) this;
        }

        public Criteria andExNumNotIn(List<Integer> values) {
            addCriterion("EX_NUM not in", values, "exNum");
            return (Criteria) this;
        }

        public Criteria andExNumBetween(Integer value1, Integer value2) {
            addCriterion("EX_NUM between", value1, value2, "exNum");
            return (Criteria) this;
        }

        public Criteria andExNumNotBetween(Integer value1, Integer value2) {
            addCriterion("EX_NUM not between", value1, value2, "exNum");
            return (Criteria) this;
        }

        public Criteria andIndateIsNull() {
            addCriterion("INDATE is null");
            return (Criteria) this;
        }

        public Criteria andIndateIsNotNull() {
            addCriterion("INDATE is not null");
            return (Criteria) this;
        }

        public Criteria andIndateEqualTo(Date value) {
            addCriterion("INDATE =", value, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateNotEqualTo(Date value) {
            addCriterion("INDATE <>", value, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateGreaterThan(Date value) {
            addCriterion("INDATE >", value, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateGreaterThanOrEqualTo(Date value) {
            addCriterion("INDATE >=", value, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateLessThan(Date value) {
            addCriterion("INDATE <", value, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateLessThanOrEqualTo(Date value) {
            addCriterion("INDATE <=", value, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateIn(List<Date> values) {
            addCriterion("INDATE in", values, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateNotIn(List<Date> values) {
            addCriterion("INDATE not in", values, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateBetween(Date value1, Date value2) {
            addCriterion("INDATE between", value1, value2, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateNotBetween(Date value1, Date value2) {
            addCriterion("INDATE not between", value1, value2, "indate");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("TYPE is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("TYPE =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("TYPE <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("TYPE >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("TYPE >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("TYPE <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("TYPE <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("TYPE in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("TYPE not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("TYPE between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("TYPE not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNull() {
            addCriterion("USERNAME is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("USERNAME is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("USERNAME =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("USERNAME <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("USERNAME >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("USERNAME >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("USERNAME <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("USERNAME <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("USERNAME like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("USERNAME not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("USERNAME in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("USERNAME not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("USERNAME between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("USERNAME not between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andPrizeNumIsNull() {
            addCriterion("PRIZE_NUM is null");
            return (Criteria) this;
        }

        public Criteria andPrizeNumIsNotNull() {
            addCriterion("PRIZE_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andPrizeNumEqualTo(Integer value) {
            addCriterion("PRIZE_NUM =", value, "prizeNum");
            return (Criteria) this;
        }

        public Criteria andPrizeNumNotEqualTo(Integer value) {
            addCriterion("PRIZE_NUM <>", value, "prizeNum");
            return (Criteria) this;
        }

        public Criteria andPrizeNumGreaterThan(Integer value) {
            addCriterion("PRIZE_NUM >", value, "prizeNum");
            return (Criteria) this;
        }

        public Criteria andPrizeNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("PRIZE_NUM >=", value, "prizeNum");
            return (Criteria) this;
        }

        public Criteria andPrizeNumLessThan(Integer value) {
            addCriterion("PRIZE_NUM <", value, "prizeNum");
            return (Criteria) this;
        }

        public Criteria andPrizeNumLessThanOrEqualTo(Integer value) {
            addCriterion("PRIZE_NUM <=", value, "prizeNum");
            return (Criteria) this;
        }

        public Criteria andPrizeNumIn(List<Integer> values) {
            addCriterion("PRIZE_NUM in", values, "prizeNum");
            return (Criteria) this;
        }

        public Criteria andPrizeNumNotIn(List<Integer> values) {
            addCriterion("PRIZE_NUM not in", values, "prizeNum");
            return (Criteria) this;
        }

        public Criteria andPrizeNumBetween(Integer value1, Integer value2) {
            addCriterion("PRIZE_NUM between", value1, value2, "prizeNum");
            return (Criteria) this;
        }

        public Criteria andPrizeNumNotBetween(Integer value1, Integer value2) {
            addCriterion("PRIZE_NUM not between", value1, value2, "prizeNum");
            return (Criteria) this;
        }

        public Criteria andExTypeIsNull() {
            addCriterion("EX_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andExTypeIsNotNull() {
            addCriterion("EX_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andExTypeEqualTo(Integer value) {
            addCriterion("EX_TYPE =", value, "exType");
            return (Criteria) this;
        }

        public Criteria andExTypeNotEqualTo(Integer value) {
            addCriterion("EX_TYPE <>", value, "exType");
            return (Criteria) this;
        }

        public Criteria andExTypeGreaterThan(Integer value) {
            addCriterion("EX_TYPE >", value, "exType");
            return (Criteria) this;
        }

        public Criteria andExTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("EX_TYPE >=", value, "exType");
            return (Criteria) this;
        }

        public Criteria andExTypeLessThan(Integer value) {
            addCriterion("EX_TYPE <", value, "exType");
            return (Criteria) this;
        }

        public Criteria andExTypeLessThanOrEqualTo(Integer value) {
            addCriterion("EX_TYPE <=", value, "exType");
            return (Criteria) this;
        }

        public Criteria andExTypeIn(List<Integer> values) {
            addCriterion("EX_TYPE in", values, "exType");
            return (Criteria) this;
        }

        public Criteria andExTypeNotIn(List<Integer> values) {
            addCriterion("EX_TYPE not in", values, "exType");
            return (Criteria) this;
        }

        public Criteria andExTypeBetween(Integer value1, Integer value2) {
            addCriterion("EX_TYPE between", value1, value2, "exType");
            return (Criteria) this;
        }

        public Criteria andExTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("EX_TYPE not between", value1, value2, "exType");
            return (Criteria) this;
        }

        public Criteria andOStatusIsNull() {
            addCriterion("O_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andOStatusIsNotNull() {
            addCriterion("O_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andOStatusEqualTo(Integer value) {
            addCriterion("O_STATUS =", value, "oStatus");
            return (Criteria) this;
        }

        public Criteria andOStatusNotEqualTo(Integer value) {
            addCriterion("O_STATUS <>", value, "oStatus");
            return (Criteria) this;
        }

        public Criteria andOStatusGreaterThan(Integer value) {
            addCriterion("O_STATUS >", value, "oStatus");
            return (Criteria) this;
        }

        public Criteria andOStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("O_STATUS >=", value, "oStatus");
            return (Criteria) this;
        }

        public Criteria andOStatusLessThan(Integer value) {
            addCriterion("O_STATUS <", value, "oStatus");
            return (Criteria) this;
        }

        public Criteria andOStatusLessThanOrEqualTo(Integer value) {
            addCriterion("O_STATUS <=", value, "oStatus");
            return (Criteria) this;
        }

        public Criteria andOStatusIn(List<Integer> values) {
            addCriterion("O_STATUS in", values, "oStatus");
            return (Criteria) this;
        }

        public Criteria andOStatusNotIn(List<Integer> values) {
            addCriterion("O_STATUS not in", values, "oStatus");
            return (Criteria) this;
        }

        public Criteria andOStatusBetween(Integer value1, Integer value2) {
            addCriterion("O_STATUS between", value1, value2, "oStatus");
            return (Criteria) this;
        }

        public Criteria andOStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("O_STATUS not between", value1, value2, "oStatus");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("ORDER_ID is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("ORDER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Integer value) {
            addCriterion("ORDER_ID =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Integer value) {
            addCriterion("ORDER_ID <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Integer value) {
            addCriterion("ORDER_ID >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ORDER_ID >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Integer value) {
            addCriterion("ORDER_ID <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Integer value) {
            addCriterion("ORDER_ID <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Integer> values) {
            addCriterion("ORDER_ID in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Integer> values) {
            addCriterion("ORDER_ID not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Integer value1, Integer value2) {
            addCriterion("ORDER_ID between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ORDER_ID not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andMoneyIsNull() {
            addCriterion("MONEY is null");
            return (Criteria) this;
        }

        public Criteria andMoneyIsNotNull() {
            addCriterion("MONEY is not null");
            return (Criteria) this;
        }

        public Criteria andMoneyEqualTo(Double value) {
            addCriterion("MONEY =", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotEqualTo(Double value) {
            addCriterion("MONEY <>", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThan(Double value) {
            addCriterion("MONEY >", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThanOrEqualTo(Double value) {
            addCriterion("MONEY >=", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyLessThan(Double value) {
            addCriterion("MONEY <", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyLessThanOrEqualTo(Double value) {
            addCriterion("MONEY <=", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyIn(List<Double> values) {
            addCriterion("MONEY in", values, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotIn(List<Double> values) {
            addCriterion("MONEY not in", values, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyBetween(Double value1, Double value2) {
            addCriterion("MONEY between", value1, value2, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotBetween(Double value1, Double value2) {
            addCriterion("MONEY not between", value1, value2, "money");
            return (Criteria) this;
        }

        public Criteria andBalanceVisualCoinIsNull() {
            addCriterion("BALANCE_VISUAL_COIN is null");
            return (Criteria) this;
        }

        public Criteria andBalanceVisualCoinIsNotNull() {
            addCriterion("BALANCE_VISUAL_COIN is not null");
            return (Criteria) this;
        }

        public Criteria andBalanceVisualCoinEqualTo(Double value) {
            addCriterion("BALANCE_VISUAL_COIN =", value, "balanceVisualCoin");
            return (Criteria) this;
        }

        public Criteria andBalanceVisualCoinNotEqualTo(Double value) {
            addCriterion("BALANCE_VISUAL_COIN <>", value, "balanceVisualCoin");
            return (Criteria) this;
        }

        public Criteria andBalanceVisualCoinGreaterThan(Double value) {
            addCriterion("BALANCE_VISUAL_COIN >", value, "balanceVisualCoin");
            return (Criteria) this;
        }

        public Criteria andBalanceVisualCoinGreaterThanOrEqualTo(Double value) {
            addCriterion("BALANCE_VISUAL_COIN >=", value, "balanceVisualCoin");
            return (Criteria) this;
        }

        public Criteria andBalanceVisualCoinLessThan(Double value) {
            addCriterion("BALANCE_VISUAL_COIN <", value, "balanceVisualCoin");
            return (Criteria) this;
        }

        public Criteria andBalanceVisualCoinLessThanOrEqualTo(Double value) {
            addCriterion("BALANCE_VISUAL_COIN <=", value, "balanceVisualCoin");
            return (Criteria) this;
        }

        public Criteria andBalanceVisualCoinIn(List<Double> values) {
            addCriterion("BALANCE_VISUAL_COIN in", values, "balanceVisualCoin");
            return (Criteria) this;
        }

        public Criteria andBalanceVisualCoinNotIn(List<Double> values) {
            addCriterion("BALANCE_VISUAL_COIN not in", values, "balanceVisualCoin");
            return (Criteria) this;
        }

        public Criteria andBalanceVisualCoinBetween(Double value1, Double value2) {
            addCriterion("BALANCE_VISUAL_COIN between", value1, value2, "balanceVisualCoin");
            return (Criteria) this;
        }

        public Criteria andBalanceVisualCoinNotBetween(Double value1, Double value2) {
            addCriterion("BALANCE_VISUAL_COIN not between", value1, value2, "balanceVisualCoin");
            return (Criteria) this;
        }

        public Criteria andBalanceCreditIsNull() {
            addCriterion("BALANCE_CREDIT is null");
            return (Criteria) this;
        }

        public Criteria andBalanceCreditIsNotNull() {
            addCriterion("BALANCE_CREDIT is not null");
            return (Criteria) this;
        }

        public Criteria andBalanceCreditEqualTo(Double value) {
            addCriterion("BALANCE_CREDIT =", value, "balanceCredit");
            return (Criteria) this;
        }

        public Criteria andBalanceCreditNotEqualTo(Double value) {
            addCriterion("BALANCE_CREDIT <>", value, "balanceCredit");
            return (Criteria) this;
        }

        public Criteria andBalanceCreditGreaterThan(Double value) {
            addCriterion("BALANCE_CREDIT >", value, "balanceCredit");
            return (Criteria) this;
        }

        public Criteria andBalanceCreditGreaterThanOrEqualTo(Double value) {
            addCriterion("BALANCE_CREDIT >=", value, "balanceCredit");
            return (Criteria) this;
        }

        public Criteria andBalanceCreditLessThan(Double value) {
            addCriterion("BALANCE_CREDIT <", value, "balanceCredit");
            return (Criteria) this;
        }

        public Criteria andBalanceCreditLessThanOrEqualTo(Double value) {
            addCriterion("BALANCE_CREDIT <=", value, "balanceCredit");
            return (Criteria) this;
        }

        public Criteria andBalanceCreditIn(List<Double> values) {
            addCriterion("BALANCE_CREDIT in", values, "balanceCredit");
            return (Criteria) this;
        }

        public Criteria andBalanceCreditNotIn(List<Double> values) {
            addCriterion("BALANCE_CREDIT not in", values, "balanceCredit");
            return (Criteria) this;
        }

        public Criteria andBalanceCreditBetween(Double value1, Double value2) {
            addCriterion("BALANCE_CREDIT between", value1, value2, "balanceCredit");
            return (Criteria) this;
        }

        public Criteria andBalanceCreditNotBetween(Double value1, Double value2) {
            addCriterion("BALANCE_CREDIT not between", value1, value2, "balanceCredit");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table WEB_EXCHANGE
     *
     * @mbg.generated do_not_delete_during_merge Wed Jul 12 08:41:20 CST 2017
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}